package com.youlu.campus.admin.auth.entity;

import com.youlu.campus.base.base.EntityBase;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.time.LocalDateTime;

/**
 * @author : [dengbo]
 * @className : SystemLoginLog
 * @description : [系统登陆日志]
 * @createTime : [2022/9/29 12:01]
 */
@Data
@Document(collection = "system_login_log")
public class SystemLoginLog extends EntityBase {
    private String userName;
    private String ipAddress;
    private LocalDateTime loginTime;
    /**
     * login-ok:登录成功
     * login-no:登录失败
     */
    private String type;
}
